/**
 * Title :	jFamilyTree generator
 * Description: jFamilyTree generator
 * Version:	provider
 * Copyright (c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 */
package jFamilyTree;

import jFamilyTree.commons.Laf;
import jFamilyTree.generator.MainFrame;

/**
 * Generator
 * 
 * @author Bernard Bou
 */
public class Generator
{
	/**
	 * Version
	 */
	static private final String theVersion = "provider"; //$NON-NLS-1$

	/**
	 * Constructor
	 * 
	 * @param theseArgs
	 *        program arguments
	 */
	public Generator(String[] theseArgs)
	{
		//System.out.println("CLASSPATH=<" + System.getProperty("java.class.path", ".") + ">");

		// laf
		Laf.lookAndFeel(theseArgs);

		new MainFrame(theseArgs);
	}

	/**
	 * Get version
	 * 
	 * @return version
	 */
	static public String getVersion()
	{
		return theVersion;
	}
	
	/**
	 * Main
	 * 
	 * @param theseArgs
	 *        aruments
	 */
	public static void main(String[] theseArgs)
	{
		Laf.lookAndFeel(theseArgs);
		new Generator(theseArgs);
	}
}